#gcalendar
{
	width:80%;
	float:left;
}
#gcalendar iframe
{
	width:100%;
	height:40em;
	
}
#headcalendar
{
	clear:both;
	float:right;
	width:100%;

}
#headcalendar #calendaroptions
{
	clear:both;
	float:left;
	
}
#headcalendar #calendaroptions #backbutton
{
	clear:both;
	margin-top:0.2em;
	float:left;
	width:30px;
	height:20px;
	background-image:url(../imagenes/buttonsmonth.gif);
	background-position:0 40px;
}

#headcalendar #calendaroptions #backbutton:hover
{
	background-image:url(../imagenes/buttonsmonth.gif);
	background-position:0 20px;
}


#headcalendar #calendaroptions #nextbutton
{
	margin-top:0.2em;
	float:left;
	width:30px;
	height:20px;
	background-image:url(../imagenes/buttonsmonth.gif);
	background-position:0 0px;
}

#headcalendar #calendaroptions #nextbutton:hover
{
	background-image:url(../imagenes/buttonsmonth.gif);
	background-position:0 60px;
}
#headcalendar #calendaroptions #todayop
{
	float:left;
	margin-left:0.3em;
	margin-right:0.3em;
}

#headcalendar #calendaroptions #headdate
{
	float:left;
	margin-top:0.2em;
	font-family:Verdana;
	font-size:14px;
}
/**/

#headcalendar #searchdate
{
	float:right;
	
	position:absolute;
}

#headcalendar #searchdate input.texto
{
	width:15em;
	margin-left:0em;
}
#headcalendar #searchdate input.texto
{
	width:15em;
	margin-left:0em;
}
/*opciones*/
#headcalendar  #calendarmenu
{
	float:right;
	
	
}
#headcalendar  #calendarmenu ul
{
	list-style:none;
	margin:0;
	padding:0;
	
}
#headcalendar #calendarmenu ul li
{
	float:left;
	padding:5px;
	background-color:#6F90A3;
	border-left:solid 1px #fff;
	color:#fff;
	font-weight:bold;
	font-size:18px;
	
}

#headcalendar #calendarmenu ul li:hover
{
	color:#c0c0c0;
	cursor:pointer;
}
/*contenedor del calendario*/
#contentcalendar
{
	clear:both;
	float:left;
	width:100%;
}
/*muestra el dia*/
#contentcalendar  #showday
{
	width:100%;
	overflow-y:auto;
	height:35em;
}
#contentcalendar  #showday table
{
	width:100%;
	float:right;
	font-size:13px;
}

#contentcalendar  #showday table  td.hour
{
	width:7%;
	min-width:5em;
	height:2em;
	text-align:center;	
	background-color:#A4C5D5;
	
}
#contentcalendar  #showday table  td.hday
{
	width:93%;
	background-color:#fff;
	border-top:solid 1px #f7f7f7;
}
/*ordena la información de un evento*/
#contentcalendar  #showday table  td.hday #eventinfo
{
	clear:both;
	border-top:dotted 1px #f0f0f0;
}
#contentcalendar  #showday table  td.hday #eventinfo #hstarevent,#contentcalendar  #showday table  td.hday #eventinfo #hendevent
{
	float:left;
	color:#c60000;
}
#contentcalendar  #showday table  td.hday #eventinfo #nameevent
{
	clear:both;
	float:left;
	font-weight:bold;
}	
#contentcalendar  #showday table  td.hday #eventinfo #descevent
{
	clear:both;
	float:left;
}
#contentcalendar  #showday table  td.hday #eventinfo #placeevent
{
	clear:both;
	float:left;
}
#contentcalendar  #showday table  td.hday #eventinfo #linkeditevent
{
	clear:both;
	float:right;
}
/*calendario semanal*/
#contentcalendar #showweek
{
	clear:both;
	float:right;
	width:100%;
	
}
#contentcalendar #showweek #headweek 
{
	clear:both;
	width:100%;
	border-bottom:solid 1px #fff;
}
#contentcalendar #showweek #headweek div.xhour
{
	float:left;
	width:5%;
	min-width:2em;
	background-color:#A4C5D5;
	margin-left:2px;
}
#contentcalendar #showweek #headweek div.title
{
	float:left;
	width:13.35%;
	background-color:#A4C5D5;
	text-align:center;
	
}




#contentcalendar #showweek #contentweek
{
	width:100%;
	overflow-y:auto;
	height:45em;
	font-size:11px;
}
#contentcalendar #showweek #contentweek table
{
	width:100%;
}
#contentcalendar #showweek #contentweek table tr
{
	min-width:2em;
	min-height:2em;
	height:2em;
	
}
#contentcalendar #showweek #contentweek table tr td.xhour
{
	width:5%;
	background-color:#A4C5D5;
	height:2em;
	text-align:center;
	min-width:2em;
	border-bottom:solid 1px  #f3f3f3;
}
#contentcalendar #showweek #contentweek table tr td.xhourd
{
	width:13.55%;
	border-bottom:solid 1px  #f3f3f3;	
	border-right:solid 1px  #f3f3f3;
	
}

#contentcalendar #showweek #contentweek table tr td.xhourd #eventinfo
{
	clear:both;
	
}
#contentcalendar #showweek #contentweek table tr td.xhourd #hstarevent,#contentcalendar #showweek #contentweek table tr td.xhourd #hendevent
{
	float:left;
	color:#c60000;
}
#contentcalendar #showweek #contentweek table tr td.xhourd #nameevent
{
	clear:both;
	
}
/*mes*/
#contentcalendar #showmonth
{
	width:100%;	
}
#contentcalendar #showmonth table
{
	width:100%;
	height:100%;
}

#contentcalendar #showmonth table tr th
{
	height:1em;
	text-align:center;
	background-color:#A4C5D5;
}
#contentcalendar #showmonth table tr td
{
	/*min-width:6em;
	min-height:6em;*/
	width:14.285%;
	max-height:6em;
	height:6em;
	border-right:solid 1px #efefef;
	border-bottom:solid 1px #efefef;
}


#contentcalendar #showmonth table tr td.sundaymonth
{
	
	background-color:#e1f0ff;
	
	
}

#contentcalendar #showmonth table tr td div.headdaymonth
{
	width:100%;
	background-color:#f3f3f3;
	text-align:left;
	
}
#contentcalendar #showmonth table tr td div.xdaymonth
{
	height:90%;
	width:100%;
	overflow:auto;
	
}

#contentcalendar #showmonth table tr td div.xdaymonth ul
{
	list-style:none;
	margin:0;
	padding:0;
	font-size:12px;
}

#contentcalendar #showmonth table tr td div.xdaymonth ul li #hstarevent
{
	clear:both;
	float: left;
	color:#c60000;
}


#contentcalendar #showmonth table tr td div.xdaymonth ul li #nameevent
{
	float:left;
	color:#000;
}
/*registro de un nuevo evento*/
#registroevento
{
	float:left;
	width:80%;

	
}

 #registroevento h1
{
	font-size:24px;
	color:#006600;
	text-align:center;
	
	
}
#registroevento select 
{
	width:6em;
	float:left;
}
#registroevento label
{
	font-weight:bold;
	width:8em;
	display:block;
	float:left;
	margin-left:10em;
} 

#registroevento label.in
{
	max-width:0.5em;
	font-size:16px;
	display:block;
	float:left;
	margin-left:0.5em;
	margin-right:0.5em;
	font-weight:100;
	
} 
#registroevento input.fecha
{
	width:7em;
}
#registroevento input, textarea
{
	float:left;
}
#registroevento input.input
{
	width:30em;
}
#registroevento input.buttom
{
	margin-left:46em;
}
#registroevento  textarea
{
	height:10em;
	width:30em;
}
#registroevento div
{
	clear:both;
	padding-top:1em;
}


 #registroevento .error
{
	color:#CC0000;
	font-size:9px;
	margin-left:32em;
	
	
}
/*agenda*/
#contentcalendar #headagenda
{
	width:100%;
	clear:both;
	text-align:center;
	background-color:#A4C5D5;
	color:#fff;
	font-size:19px;
	font-weight:bold;
}

#contentcalendar #contentagent
{
	clear:both;
	width:100%;
}

#contentcalendar #contentagent table 
{
	width:100%;
}
#contentcalendar #contentagent table tr
{
	width:100%;
	border-bottom:solid 1px #000;
}

#contentcalendar #contentagent table tr th.date
{
	width:15%;
	text-align:left;
	background-color:#A4C5D5;
}
#contentcalendar #contentagent table tr th.hour
{
	width:10%;
	text-align:left;
	background-color:#A4C5D5;
}
#contentcalendar #contentagent table tr th.event
{
	width:75%;
	text-align:left;
	background-color:#A4C5D5;
}

#contentcalendar #contentagent table tr td.date1
{
	width:15%;
}
#contentcalendar #contentagent table tr td.hour1
{
	width:10%;
	
}

#contentcalendar #contentagent table tr td.event1
{
	width:75%;
	
}
#contentcalendar #contentagent table tr td div.linkedit
{
	width:3em;
	float:right;
} 
/**/

#contentcalendar #contentagent table tr td.date2
{
	width:15%;
	background-color:#e4e4e4;
	
}
#contentcalendar #contentagent table tr td.hour2
{
	width:10%;
	background-color:#e4e4e4;
	
}
#contentcalendar #contentagent table tr td.event2
{
	width:75%;
	background-color: #e4e4e4;
}
/*ventana que muestra las caracteristicas de un evento*/
#contentcalendar #showevent
{
	border:solid 1px #000;
	width:30em;
	min-height:5em;
	position:absolute;;
	top:15em;
	background-color:#fff;
}

#contentcalendar #showevent #headshow
{
	clear:both;	
	width:29.4em;
	margin-left:0.2em;
	margin-top:0.1em;
	height:2em;
	
	background-color:#bfbfbf;
	border:solid 1px #9f9f9f;
	cursor:move;
	
}
#contentcalendar #showevent #headshow #headshowx
{
	float:right;
	margin-top:0.2em;
	margin-right:0.2em;
	width:1.2em;
	height:1.2em;
	text-align:center;;
	font-size:18px;
	cursor:pointer;
	font-family:"Arial Black";
	
	
}
#contentcalendar #showevent #headshow #headshowx:hover
{
	font-size:20px;
}
#contentcalendar #showevent #headshow #headshowt
{
	clear:both;
	width:25em;
	float:left;
	font-size:16px;
	text-align:center;
	padding-top:5px;
}
#contentcalendar #showevent #contentshow
{
	clear:both;	
	width:30em;
	background-color:#fff;	
	min-height:5em;
	cursor:auto;
	
	
	
}
#contentcalendar #showevent #contentshow label
{
	clear:both;
	color:#000;
	font-weight:bold;
	padding-left:1em;
	
}
#contentcalendar #showevent #contentshow div
{
	width:25em;
	padding-left:5em;
}